<!DOCTYPE html>
<html>
<head>

    <link rel="stylesheet" href="/Statics/Home/css/amazeui.min.css">

    <link rel="stylesheet" href="/Statics/Home/css/button.css">

    <link rel="stylesheet" href="/Statics/Home/js/sco/css/scojs.css" />

    <link rel="stylesheet" href="/Statics/Home/css/reset.css">
    <link rel="stylesheet" href="/Statics/Home/css/common.css">

    <template file="Home/meta" />
    <template file="Home/css" />









</head>
<body style="background:#eaeeef">
<template file="Home/search" />


<if condition="$u['vip']">

    <template file="User/header" />

    <template file="User/Qianbao/nav" />


    <else/>




    <img src="__IMG__/chongzhi.png" class="am-img-responsive" alt="">

</if>


<div class="am-cf am-bg-fff">

<div class="am-cf  am-margin-top-lg">


    <div>

    <ul class="am-avg-sm-3  " id="gz_list">

        <volist name="guize" id="v">

            <li class="am-padding-horizontal-sm">
                <span class=" am-text-center am-btn-block   button-border  am-margin-top-lg am-text-000" data-title="{$v.title}" data-price="{$v.price}">{$v.price}</span>
            </li>

        </volist>


    </ul>


    <p id="cz_title" class="am-text-lg am-text-danger am-padding-horizontal-sm">
    </p>

    </div>

</div>


<div class=" am-padding-horizontal-sm  ">


    <form action="{:U('')}" method="post" data-am-validator>


        <input type="hidden" name="price">

            <button  type="submit" class=' am-btn-block  button-caution button  button-border ' > <span class="am-margin-horizontal-xl">立即充值</span> </button>





    </form>
</div>



<div class=" am-padding-horizontal-lg">
    <!--<frag name="shuoming_chongzhi" />-->

</div>

</div>
<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-index  common-border-top"
     id="">
    <template file="Home/bottom_nav" />
</div>
<template file="Home/js" />


<script>



    $(function(){



        $("#gz_list span").click(function(){


            $("#gz_list span").removeClass("am-btn-danger");
            $("#gz_list span").addClass("am-btn-default");

            $(this).addClass("am-btn-danger");
            $(this).removeClass("am-btn-default");

            $("#cz_title").html("赠送:"+$(this).data("title"));


            $("input[name='price']").val($(this).data("price"));


        })







    })


</script>


</body>
</html>